var Util = require('../../utils/util.js');
var app = getApp()
Page({
  data: {
    orderId: "",
    iconType: 'success'
  },
  onLoad: function (paras) {
    this.setData({
      orderId: paras.orderId,
      ticketId:paras.ticketId
    })
    console.log(this.data.ticketId)
  },

  goCheckClick: function (event) {
    var that = this
    wx.navigateTo({
      //目的页面地址
      url: '../orderdetail/orderdetail?orderid=' + that.data.orderId
    })

  },
  goOnShopingClick: function (event) {
    var that = this
    wx.navigateTo({
      //目的页面地址
      url: '../addorder/addorder?ticketId=' + that.data.ticketId 
    })

  },
  // 返回首页
  // goIndex:() => {
  //   wx.redirectTo({
  //     url: '../index/index',
  //   })
  // }




})